import styles from './index.module.scss'
import cm from 'classnames'

const Index = props => {
  const { className, type = '' } = props
  return (
    <div className={cm(styles['error-mask'], styles[type], className)}>
      <img loading="lazy" src="/images/error.webp" className={styles.img} alt="错误背景" />
      <p className={styles.p1}>该频道源暂时失效啦～</p>
      <p className={styles.p2}>
        您可以刷新重试或选择其他频道看看吧～
        <br />
        加入TG群随时反馈
      </p>
    </div>
  )
}

export default Index
